package com.xn2001.dao;

import com.xn2001.entity.CommonResult;
import com.xn2001.entity.User;

import java.util.Collection;
import java.util.List;

/**
 * Created by 乐心湖 on 2020/4/15 17:22
 */
public interface UserDao {
    Collection<User> findAll();
    User findById(Integer id);
    void delete(Integer id);
    void save(User user);
}
